/**
 *  保存 token
 */
export const savePassword = (token) => {
    localStorage.setItem('vuethreepass', token);
}

export const saveUserName = (token) => {
    localStorage.setItem('vuethreeuser', token);
}

export const deleteToken = () => {
    localStorage.removeItem('vuethreepass');
    localStorage.removeItem('vuethreeuser');
}